package org.x.user.vo;


import cn.idev.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class LogExcelVO {

    @ExcelProperty("日志ID")
    private Long id;

    @ExcelProperty("用户ID")
    private Long userId;

    @ExcelProperty("操作类型")
    private String action;

    @ExcelProperty("操作对象类型")
    private String targetType;

    @ExcelProperty("操作对象ID")
    private Long targetId;

    @ExcelProperty("操作详情")
    private Object detail;
    @ExcelProperty("操作IP")
    private String ip;
    @ExcelProperty("操作时间")
    private Date createdTime;
}
